package com.yc.boot.work.model.update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2021/12/28/10:01
 * @Description:    修改班级实体类
 */
@Data
@Accessors(chain = true)
@ApiModel("修改班级数据模型")
public class UpdateClass {

    @NotNull
    @ApiModelProperty(value = "根据Id修改判断", required = true)
    private Long id;

    @ApiModelProperty(value = "班级名")
    private String name;

    @ApiModelProperty(value = "班级人数")
    private String number;



}
